﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<%@ include file="/include/include.jsp" %>
</head>

<body>
	
	<%@ include file="/include/header.jsp" %>

	<%@ include file="/include/menu.jsp" %>
	
			
	<div id="mainContent">
		<h2><a href="${ctx}/${menu.url}">${menu.description}</a>&nbsp;-&nbsp;<a href="${ctx}/${empty currViewBarSubMenu_ ? submenu.url : currViewBarSubMenu_.url}">${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description}</a></h2>
		<!-- display="ROLE_SALES ROLE_ADMIN" -->
		<div class="tool-bar">
			<!-- <a href="${ctx}/house/housematerial/search" class="modal-window modal-link"  >添加${submenu.description}</a> -->
			<div title="${menu.description} - ${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description} - 查询${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description}"  href="${ctx}/house/outinventory/search" class="modal-window modal-link">过滤查询</div>
		</div>
		dddddddddddddd
		<div class="grid-list">
			<table class="grid" cellspacing="0">
				<thead>
					<tr>
						<td>DO单号</td>
						<td>仓储商</td>
						<td>产品</td>
						<td>数量</td>
						<td>类型</td>
						<td>日期</td>
						<td>状态</td>
						<!-- 
						<td>操作</td>
						 -->
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${inventoryRecords}" var="inventoryRecord">
						<tr>
							<td>${inventoryRecord.deliveryOrder.number}</td>
							<td>${inventoryRecord.warehouse.code} -- ${inventoryRecord.warehouse.name}</td>
							<td>${inventoryRecord.product.productCode} -- ${inventoryRecord.product.productName}</td>
							<td>${inventoryRecord.amount}</td>
							<td>${inventoryRecord.inventoryOperationDislpaly }</td>
							<td><fmt:formatDate value="${inventoryRecord.operationDate}" pattern="yyyy-MM-dd"/></td>
							<td>${inventoryRecord.addProductFlagDisplayText}</td>
							<!-- 
							<td>
								<div title="${menu.description} - ${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description} - 查看${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description}"  href="${ctx}/house/outinventory/view" class="modal-window modal-link">补货</div>
							</td>
							-->
						</tr>
					</c:forEach>
				</tbody>
			</table>
			<t:page action="${ctx}/warehouse/addproductdetail/search/${id}" />
		</div>
	</div>
	
	<%@ include file="/include/script.jsp" %>
	
</body>

</html> 